package company;

public class Test {
    public static void main(String[] args)
    {
        Employee employee = new Employee("张三",30,"E001",5000,5);
        Manager manager = new Manager("李四",40,"M001",10000,10);

        System.out.println("员工涨工资前："+employee.getSalary());
        employee.raiseSalary();
        System.out.println("员工涨工资后："+employee.getSalary());

        System.out.println("经理涨工资前："+manager.getSalary());
        manager.raiseSalary();
        System.out.println("经理涨工资后："+manager.getSalary());
    }
}
